package com.entity;


public class Commodity {
    private int commodityId;
    private int wareHouseId;
    private float weight;
    private Size size;
    private float price;
    private int amount;

    public Commodity(){}

    public Commodity(int cid,int wid,float weight,Size s,float p){
        this.commodityId=cid;
        this.wareHouseId=wid;
        this.weight=weight;
        this.size=s;
        this.price=p;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(int commodityId) {
        this.commodityId = commodityId;
    }

    public int getWareHouseId() {
        return wareHouseId;
    }

    public void setWareHouseId(int wareHouseId) {
        this.wareHouseId = wareHouseId;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
